Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate deprecated components from cozy-ui #3293

Merged
merged 5 commits into from
Jan 23, 2025

Conversation

zatteo
Copy link
Contributor

@zatteo zatteo commented Jan 14, 2025

Deprecated components remaining :

  • Table => A lot of refactoring is needed to migrate them. It will be better to do it when we have to work on them.
  • PushClientButton => Components is deprecated in cozy-ui but still used in Photos and Cozy Pass Web. I do not know what is the best thing to do now : update the component in cozy-ui and remove it from deprecated components or integrate the code directly in the app. It will depends of our next roadmap.

Copy link

bundlemon bot commented Jan 14, 2025

BundleMon

Files updated (6)
Status Path Size Limits
public/drive.(hash).js
2.09MB (+15B 0%) -
intents/drive.(hash).js
85.89KB (-12B -0.01%) -
app-drive.(hash).min.css
10.16KB (-14B -0.13%) -
public/drive.(hash).min.css
39.53KB (-14B -0.03%) -
app/drive.(hash).js
159.6KB (-105B -0.06%) -
vendors/drive.(hash).js
2.32MB (-216B -0.01%) -
Unchanged files (12)
Status Path Size Limits
public/pdf.worker.entry.(hash).worker.js
345.35KB -
services/qualificationMigration/drive.js
283.72KB -
services/dacc/drive.js
263.3KB -
public/cozy-client-js.js
159.28KB -
onlyOffice/slide.pptx
24.83KB -
intents-drive.(hash).min.css
8.43KB -
onlyOffice/text.docx
5.85KB -
onlyOffice/spreadsheet.xlsx
5.02KB -
manifest.webapp
1.92KB -
index.html
598B -
intents/index.html
506B -
manifest.json
185B -

Total files change -357B -0.01%

Groups updated (3)
Status Path Size Limits
intents/**
86.39KB (-15B -0.02%) -
app/**
159.6KB (-105B -0.06%) -
vendors/**
2.32MB (-216B -0.01%) -
Unchanged groups (4)
Status Path Size Limits
public/**
2.63MB -
services/**
547.03KB -
onlyOffice/**
35.7KB -
img/**
5.85KB -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

src/components/pushClient/Banner.jsx Show resolved Hide resolved
label={t('table.head_thumbnail_size')}
extension="narrow"
icon={
label={
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on perd t('table.head_thumbnail_size') ici non ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dans le principe oui mais il n'étais pas affiché de toute façon à cause du iconOnly

ErrorComponent has been deleted because it is unused (probably a rest from cozy-photos)
Icon was not displayed in a Cozy to Cozy share (it was the only
deletion text without icon) because we tried to pass to Icon
component an icon that does not exist. And when the deletion text
was too long, the icon was shrink to a very small icon.

I also adjusted spacing to have better result.
@zatteo zatteo force-pushed the feat/migrate-deprecated-components branch from 809d835 to 6d0de19 Compare January 23, 2025 14:49
@zatteo zatteo merged commit d4879f1 into master Jan 23, 2025
4 checks passed
@zatteo zatteo deleted the feat/migrate-deprecated-components branch January 23, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants